Aurora Partner Web Service

(0 reviews)

API Enhancement Summary

API Enhancement Summary – Mule API Version 2

Release Version: 2.0

Change Type: Enhancement

Status: Implemented

✅ Enhancements Added in API Version 2

The following enhancements have been introduced in Mule API Version 2 to improve pricing calculations and support internationalization:

  1. New Fields in Response Payload:Gross Price (grossPrice)A new field added to the response payload to represent the total price before applying any promotions or discounts.
  2. Net Price (netPrice)A calculated field representing the price after applying all promotions. Calculation Formula: NetPrice = GrossPrice × ((100 + PromotionValue) / 100) + AdditionalPromotionGrossPrice: Base price before discounts.PromotionValue: Percentage value of the primary promotion.AdditionalPromotion: A flat-value promotion applied on top of the calculated discount.
  3. Additional Promotion Price (additionalPromotion) A new field representing an additional flat promotional discount added on top of the calculated net price.
  4. New URL Parameter: currency A new query parameter named currency has been introduced to allow the caller to specify the currency for pricing.

Example usage: api/service?voyage=SVD004S&currency=USD

The API will return prices formatted according to the requested currency, supporting international pricing.


Reviews